package com.ruoyi.demo.service;

import com.ruoyi.demo.domain.TDemo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 测试DemoService接口
 *
 * @author ZGL
 * @date 2024-09-30 14:12:25
 */
public interface ITDemoService extends IService<TDemo> {

    /**
     * 新增测试Demo
     *
     * @param tDemo 测试Demo
     * @return 结果
     */
    public int insertTDemo(TDemo tDemo) throws Exception;

    /**
     * 批量删除测试Demo
     *
     * @param ids 需要删除的测试DemoID
     * @return 结果
     */
    public int deleteTDemoByIds(Long[] ids) throws Exception;

    /**
      * 修改数据
      * 将null值转换成""
      * @return
      * @throws Exception
      */
    public int update(TDemo tDemo) throws Exception;

}
